package com.hsy.crm.web.web.stone;

import com.hsy.crm.web.domain.cm.Response;
import com.hsy.crm.web.domain.vo.stoneProduct.StoneProductPageVo;
import com.hsy.crm.web.service.impl.StoreProductService;
import com.hsy.crm.web.web.BaseAction;
import com.hsy.crm.web.domain.cm.Response;
import com.hsy.crm.web.domain.vo.stoneProduct.StoneProductPageVo;
import com.hsy.crm.web.web.BaseAction;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/storeProduct")
public class StoreProductAction extends BaseAction {

    @Autowired
    StoreProductService storeProductService;

    @RequestMapping("/page")
    public String page(StoneProductPageVo stoneProductPageVo) {
        return Response.body(storeProductService.page(stoneProductPageVo));
    }

}
